POV-Ray : Newsgroups : povray.general : shading model : shading model Server Time
19 Nov 2024 13:47:10 EST (-0500)
  shading model  
From: John Bradshaw
Date: 19 Feb 2002 00:45:27
Message: <3c71e677$1@news.povray.org>
Is there a way to modify the povray shading model without digging into the
source code (which I don't have for 3.5 anyway)?

I want to modify amount of lighting based on the angle between the camera
incidence ray and the normal vector of points in the mesh. My goal is to
create a scanning electron microscope look: bright edges (where the angle
between viewing ray and normal vector is larger) and a duller center (where
the angle is smaller).

I have tried using scattering media and backlighting the image, which works
well for simple objects (spheres), but breaks down when I try it on more
complex geometry. I have also checked out the documents for imformation
about trace(), which looked like it would work, but I never got it to work
for me.

Any ideas?

John


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.